package org.jeecg.modules.hbjh.requestVo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.bocom.api.AbstractBocomRequest;
import com.bocom.api.BizContent;
import org.jeecg.modules.hbjh.responseVo.DocumentPushCallbackResponseV1;

import java.util.List;


public class DocumentPushCallbackRequestV1 extends AbstractBocomRequest<DocumentPushCallbackResponseV1> {

  @Override
  public Class<DocumentPushCallbackResponseV1> getResponseClass() {
    return DocumentPushCallbackResponseV1.class;
  }
  @Override
  public boolean isNeedEncrypt() {
    return false;
  }

  @Override
  public String getMethod() {
    return "POST";
  }

  @Override
  public Class<? extends BizContent> getBizContentClass() {
    return DocumentPushCallbackRequestV1Biz.class;
  }



  public static class DocumentPushCallbackRequestV1Biz implements BizContent {

     /** 返回代码，0全部成功 1失败或部分失败*/
     @JsonProperty("code")
     private String code;

     /** 提示信息*/
     @JsonProperty("msg")
     private String msg;

	/** "数据对象，推送的单据状态列表"*/
	@JsonProperty("data")
	private List<Data> data;

	public static class Data {
     /** 数据类型*/
     @JsonProperty("sjlx")
     private String sjlx;

     /** 单据编号*/
     @JsonProperty("djbh")
     private String djbh;

     /** 推送状态，0成功，1失败*/
     @JsonProperty("bczt")
     private String bczt;

     /** 推送失败原因*/
     @JsonProperty("bcsbyy")
     private String bcsbyy;

	public String getSjlx() {
		return sjlx;
	}

	public void setSjlx(String sjlx) {
		this.sjlx = sjlx;
	}
	public String getDjbh() {
		return djbh;
	}

	public void setDjbh(String djbh) {
		this.djbh = djbh;
	}
	public String getBczt() {
		return bczt;
	}

	public void setBczt(String bczt) {
		this.bczt = bczt;
	}
	public String getBcsbyy() {
		return bcsbyy;
	}

	public void setBcsbyy(String bcsbyy) {
		this.bcsbyy = bcsbyy;
	}
}     /** 请求方机构编号*/
     @JsonProperty("reqOrgCode")
     private String reqorgcode;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}
	public List<Data> getData() {
		return data;
	}

	public void setData(List<Data> data) {
		this.data = data;
	}
	public String getReqorgcode() {
		return reqorgcode;
	}

	public void setReqorgcode(String reqorgcode) {
		this.reqorgcode = reqorgcode;
	}
}
}